<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表格标签学习</title>
</head>
<body>
<!--  跨行和跨列-->
<table border="1px">
  <tr>
<!--    rowspan 占多少行-->
    <td rowspan="2">1-1</td>
    <td>1-2</td>
    <td>1-3</td>
  </tr>
  <tr>
    <td>2-1</td>
    <td>2-2</td>
  </tr>
  <tr>
    <!--    colspan 占多少列 align显示形式center居中显示-->
    <td colspan="2" align="center">3-1</td>
    <td>3-2</td>
  </tr>
</table>
<hr>
<!--表格标签 table border表格的边框属性-->

<table border="1px">
  <!--表格标题-->
  <caption>表格练习</caption>
  <!--表头-->
  <tr>
    <th>第一列</th>
    <th>第二列</th>
  </tr>
<!--  tr行 td列-->

  <tr>
    <td>1-1</td>
    <td>1-2</td>
  </tr>
  <tr>
    <td>2-1</td>
    <td>2-2</td>
  </tr>
</table>
</body>
</html>